package model.datasource;

import java.util.Collection;
import java.util.Date;

import model.Lesson;
import model.Student;

public interface DataSource
{
	public Collection<Student> requestAllStudents();
	public Collection<Lesson> requestAllLessons();
	public Lesson addNewLesson( Student s, String title, String content, Date date, int income );
	public Student addNewStudent( String name, String lastName, String nickName, String email, String school, String phoneNumber, int year );
	public int deleteStudent(int id);
	public int deleteLesson(int id);
	public Student updateStudent(int id, String name, String lastName, String nickName, String email, String school, String phoneNumber,int year );
	public Lesson updateLesson(int id, Student s, String title, String content, Date date, int income );
}
